#ifndef UDFIMPORTER_H
#define UDFIMPORTER_H
#include <QString>

#include "progressobserver.h"

#define LOOP_FORM_CIRCLE_ID 2
#define TIME_MULTIPLIER 1000
class UdfImporter
{
private:
    int _createPolygon(QString description);
    int _createFakeLoop(int idPolygon);
    int _createPicket(int idEmf, int idLoop, double x, double y, double z, double height);
    int _createEmf(double* emfTimes, double* emfValues, int emfPointsNumber, float timeMultiplier);

public:
    void importFromFile(QString &filePath, ProgressObserver *observer);
};

#endif // UDFIMPORTER_H
